package com.rdzn.mall.center.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: pms_comment
 * @Author: jeecg-boot
 * @Date:   2020-08-27
 * @Version: V1.0
 */
@Data
@TableName("pms_comment")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="pms_comment对象", description="pms_comment")
public class PmsComment implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**productId*/
	@Excel(name = "productId", width = 15)
    @ApiModelProperty(value = "productId")
    private Integer productId;
	/**memberNickName*/
	@Excel(name = "memberNickName", width = 15)
    @ApiModelProperty(value = "memberNickName")
    private String memberNickName;
	/**productName*/
	@Excel(name = "productName", width = 15)
    @ApiModelProperty(value = "productName")
    private String productName;
	/**评价星数：0->5*/
	@Excel(name = "评价星数：0->5", width = 15)
    @ApiModelProperty(value = "评价星数：0->5")
    private Integer star;
	/**评价的ip*/
	@Excel(name = "评价的ip", width = 15)
    @ApiModelProperty(value = "评价的ip")
    private String memberIp;
	/**createTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "createTime")
    private Date createTime;
	/**showStatus*/
	@Excel(name = "showStatus", width = 15)
    @ApiModelProperty(value = "showStatus")
    private Integer showStatus;
	/**购买时的商品属性*/
	@Excel(name = "购买时的商品属性", width = 15)
    @ApiModelProperty(value = "购买时的商品属性")
    private String productAttribute;
	/**collectCouont*/
	@Excel(name = "collectCouont", width = 15)
    @ApiModelProperty(value = "collectCouont")
    private Integer collectCouont;
	/**readCount*/
	@Excel(name = "readCount", width = 15)
    @ApiModelProperty(value = "readCount")
    private Integer readCount;
	/**content*/
	@Excel(name = "content", width = 15)
    @ApiModelProperty(value = "content")
    private String content;
	/**上传图片地址，以逗号隔开*/
	@Excel(name = "上传图片地址，以逗号隔开", width = 15)
    @ApiModelProperty(value = "上传图片地址，以逗号隔开")
    private String pics;
	/**评论用户头像*/
	@Excel(name = "评论用户头像", width = 15)
    @ApiModelProperty(value = "评论用户头像")
    private String memberIcon;
	/**replayCount*/
	@Excel(name = "replayCount", width = 15)
    @ApiModelProperty(value = "replayCount")
    private Integer replayCount;
}
